import Vue from 'vue'

import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import 'amfe-flexible'
import 'normalize.css'
import './style/main.css'
import './style/font/iconfont.css'
import navBar from '@/components/nav-bar.vue'

// 全局注册
Vue.component('nav-bar', navBar)

// 使用 vant
Vue.use(Vant)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
